package com.neutech.service.impl;

import com.neutech.dao.DeliveryAddressDAO;
import com.neutech.dao.impl.DeliveryAddressDAOImpl;
import com.neutech.service.DeliveryAddressService;
import com.neutech.vo.ResultVO;

public class DeliveryAddressServiceImpl implements DeliveryAddressService {

    private DeliveryAddressDAO deliveryAddressDAO = new DeliveryAddressDAOImpl();

    @Override
    public ResultVO listByUserId(Integer userId) {
        return ResultVO.success(deliveryAddressDAO.listByUserId(userId));
    }
}
